﻿using System.Diagnostics;
using blackhouse.JavaScript.JQuery;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using mojoPortal.Business.WebHelpers;

namespace blackhouse.StareKino.Web.Controls {
    public partial class ReservationHighlight : System.Web.UI.UserControl {

        #region Page Cycle

        protected override void OnLoad(EventArgs e) {
            base.OnLoad(e);
            var s = VirtualFolderEvaluator.VirtualFolderName();
            Debug.Write(s);
            this.PopulateView();
        }

        #endregion

        #region Methods

        public void PopulateView() {
            JQueryLibraries jql = new JQueryLibraries();
#if DEBUG
            jql.IncludeFileBasedOnJQuery("blackhouse.StareKino.Web.ClientScripts.reservation-highlight.js,blackhouse.StareKino.Web");
#else
            jql.IncludeFileBasedOnJQuery("blackhouse.StareKino.Web.ClientScripts.reservation-highlight.min.js,blackhouse.StareKino.Web");
#endif
        }

        #endregion

    }
}